import Vue from "vue"
import Vuex from "vuex"
import moduleUser from '@/store/user.js'
Vue.use(Vuex)

const store= new Vuex.Store({
  modules: {
    // 挂载购物车的vuex模块
    'm-user':moduleUser,
  }
})
export default store